package sis.student;

import sis.student.Student.Grade;

public class HonorsGradingStrategy implements GradingStrategy {

	@Override
	public int getGradePointsFor(Student.Grade grade) {
	    
		int points = super.getGradePointsFor(grade);
	    if(points > 0)
	    	points += 1;
		return points;
	}

	    
	    int basicGradePointsFor(Student.Grade grade){
	    	
		    	if (grade == Grade.A) return 4;
		    	if (grade == Grade.B) return 3;
		    	if (grade == Grade.C) return 2;
		    	if (grade == Grade.D) return 1;
		    	return 0;
	    }
}
